package com.zkyc.framework.common.pool;


import java.util.concurrent.LinkedBlockingDeque;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

/**
 * @author bing.bai
 * @create 2022/6/1
 */
public class TimingPoolFactory {

    public static ThreadPoolExecutor timingPool = new ThreadPoolExecutor(10, 30, 3, TimeUnit.SECONDS,
            new LinkedBlockingDeque<>(10), new ThreadPoolExecutor.CallerRunsPolicy());

}
